Index

A B C E F G H I J L M N O P R S T V W 
All Classes and Interfaces|All Packages

A

apiClient - Variable in class com.fsf.news.client.NewsApiClientTest
 
apiClient - Variable in class com.fsf.news.service.NewsServiceTest
 
apiClient - Variable in class com.fsf.news.service.NewsSourcesServiceTest
 
arrayNode - Variable in class com.fsf.news.processor.NewsResponseProcessorTest
 

B

beforeEach(ExtensionContext) - Method in class com.fsf.news.GuiceExtension
Injects dependencies into the test instance before each test.

C

CollectionUtilsTest - Class in com.fsf.news.utils
Tests for the CollectionUtils class.
CollectionUtilsTest() - Constructor for class com.fsf.news.utils.CollectionUtilsTest
 
com.fsf.news - package com.fsf.news
 
com.fsf.news.client - package com.fsf.news.client
 
com.fsf.news.controller - package com.fsf.news.controller
 
com.fsf.news.handler - package com.fsf.news.handler
 
com.fsf.news.model.html - package com.fsf.news.model.html
 
com.fsf.news.processor - package com.fsf.news.processor
 
com.fsf.news.renderer - package com.fsf.news.renderer
 
com.fsf.news.repository - package com.fsf.news.repository
 
com.fsf.news.service - package com.fsf.news.service
 
com.fsf.news.utils - package com.fsf.news.utils
 
config - Variable in class com.fsf.news.client.NewsApiClientTest
 
config - Variable in class com.fsf.news.processor.NewsSentimentProcessorTest
 
controller - Variable in class com.fsf.news.controller.NewsControllerTest
 

E

errorHandler - Variable in class com.fsf.news.handler.ErrorHandlerTest
 
ErrorHandlerTest - Class in com.fsf.news.handler
Unit tests for ErrorHandler.
ErrorHandlerTest() - Constructor for class com.fsf.news.handler.ErrorHandlerTest
 
errorView - Variable in class com.fsf.news.controller.NewsControllerTest
 
exception - Variable in class com.fsf.news.handler.ErrorHandlerTest
 

F

FileTestUtils - Class in com.fsf.news
Utility class for loading test resources from the classpath.
FileTestUtils() - Constructor for class com.fsf.news.FileTestUtils
 
fleschMetricsProcessor - Variable in class com.fsf.news.processor.NewsFleschMetricsProcessorTest
 
fleschMetricsProcessor - Variable in class com.fsf.news.service.NewsServiceTest
 
fleschMetricsProcessor - Variable in class com.fsf.news.service.NewsSourcesServiceTest
 
FleschUtilsTest - Class in com.fsf.news.utils
Unit tests for the FleschUtils class.
FleschUtilsTest() - Constructor for class com.fsf.news.utils.FleschUtilsTest
 
form - Variable in class com.fsf.news.client.NewsApiClientTest
 
form - Variable in class com.fsf.news.controller.NewsControllerTest
 
form - Variable in class com.fsf.news.service.NewsServiceTest
 
form - Variable in class com.fsf.news.service.NewsSourcesServiceTest
 
formFactory - Variable in class com.fsf.news.controller.NewsControllerTest
 

G

getField(Class<?>, String) - Static method in class com.fsf.news.ReflectionTestUtils
Retrieves a Field object from a class or its superclasses.
getValue(Class<?>, String) - Static method in class com.fsf.news.ReflectionTestUtils
Retrieves the value of a static field from a class.
getValue(Object, String) - Static method in class com.fsf.news.ReflectionTestUtils
Retrieves the value of a field from an object.
GuiceExtension - Class in com.fsf.news
A JUnit extension that sets up Guice injection for tests that apply it.
GuiceExtension() - Constructor for class com.fsf.news.GuiceExtension
 

H

html - Variable in class com.fsf.news.controller.NewsControllerTest
 
html - Variable in class com.fsf.news.service.NewsServiceTest
 
html - Variable in class com.fsf.news.service.NewsSourcesServiceTest
 
HtmlElementTest - Class in com.fsf.news.model.html
Unit tests for the HtmlElement class.
HtmlElementTest() - Constructor for class com.fsf.news.model.html.HtmlElementTest
 
HtmlRendererTest - Class in com.fsf.news.renderer
Unit tests for the HtmlRenderer class.
HtmlRendererTest() - Constructor for class com.fsf.news.renderer.HtmlRendererTest
 

I

injector - Variable in class com.fsf.news.GuiceExtension
 

J

jsonNode - Variable in class com.fsf.news.client.NewsApiClientTest
 
jsonNode - Variable in class com.fsf.news.processor.NewsResponseProcessorTest
 
jsonNode - Variable in class com.fsf.news.service.NewsServiceTest
 
jsonNode - Variable in class com.fsf.news.service.NewsSourcesServiceTest
 

L

loadResource(String) - Static method in class com.fsf.news.FileTestUtils
Loads a resource file from the classpath as an input stream.

M

messages - Variable in class com.fsf.news.controller.NewsControllerTest
 
messagesApi - Variable in class com.fsf.news.controller.NewsControllerTest
 

N

NewsApiClientTest - Class in com.fsf.news.client
Unit tests for the NewsApiClient class.
NewsApiClientTest() - Constructor for class com.fsf.news.client.NewsApiClientTest
 
NewsControllerTest - Class in com.fsf.news.controller
Unit tests for the NewsController class.
NewsControllerTest() - Constructor for class com.fsf.news.controller.NewsControllerTest
 
NewsFleschMetricsProcessorTest - Class in com.fsf.news.processor
Unit tests for the NewsFleschMetricsProcessor class.
NewsFleschMetricsProcessorTest() - Constructor for class com.fsf.news.processor.NewsFleschMetricsProcessorTest
 
NewsRendererTest - Class in com.fsf.news.renderer
Unit tests for the NewsRenderer class.
NewsRendererTest() - Constructor for class com.fsf.news.renderer.NewsRendererTest
 
NewsRepositoryTest - Class in com.fsf.news.repository
Unit tests for the NewsRepository class.
NewsRepositoryTest() - Constructor for class com.fsf.news.repository.NewsRepositoryTest
 
NewsResponseProcessorTest - Class in com.fsf.news.processor
Unit tests for the NewsResponseProcessor class.
NewsResponseProcessorTest() - Constructor for class com.fsf.news.processor.NewsResponseProcessorTest
 
NewsSentimentProcessorTest - Class in com.fsf.news.processor
Unit tests for the NewsSentimentProcessor class.
NewsSentimentProcessorTest() - Constructor for class com.fsf.news.processor.NewsSentimentProcessorTest
 
NewsServiceTest - Class in com.fsf.news.service
Unit tests for the NewsService class.
NewsServiceTest() - Constructor for class com.fsf.news.service.NewsServiceTest
 
NewsSourcesRepositoryTest - Class in com.fsf.news.repository
Unit tests for the NewsSourcesRepository class.
NewsSourcesRepositoryTest() - Constructor for class com.fsf.news.repository.NewsSourcesRepositoryTest
 
NewsSourcesServiceTest - Class in com.fsf.news.service
Unit tests for the NewsSourcesService class.
NewsSourcesServiceTest() - Constructor for class com.fsf.news.service.NewsSourcesServiceTest
 
NewsWordStatsProcessorTest - Class in com.fsf.news.processor
Unit tests for the NewsWordStatsProcessor class.
NewsWordStatsProcessorTest() - Constructor for class com.fsf.news.processor.NewsWordStatsProcessorTest
 

O

objectMapper - Variable in class com.fsf.news.processor.NewsResponseProcessorTest
 
objectMapper - Variable in class com.fsf.news.renderer.NewsRendererTest
 
objectMapper - Variable in class com.fsf.news.repository.NewsRepositoryTest
 
objectMapper - Variable in class com.fsf.news.repository.NewsSourcesRepositoryTest
 
objectNode - Variable in class com.fsf.news.processor.NewsResponseProcessorTest
 
objectReader - Variable in class com.fsf.news.processor.NewsResponseProcessorTest
 
otherException - Variable in class com.fsf.news.handler.ErrorHandlerTest
 

P

processor - Variable in class com.fsf.news.processor.NewsSentimentProcessorTest
 

R

ReflectionTestUtils - Class in com.fsf.news
Utility class for reflection operations.
ReflectionTestUtils() - Constructor for class com.fsf.news.ReflectionTestUtils
 
renderer - Variable in class com.fsf.news.renderer.HtmlRendererTest
 
renderer - Variable in class com.fsf.news.renderer.NewsRendererTest
 
renderer - Variable in class com.fsf.news.service.NewsServiceTest
 
renderer - Variable in class com.fsf.news.service.NewsSourcesServiceTest
 
repository - Variable in class com.fsf.news.repository.NewsRepositoryTest
 
repository - Variable in class com.fsf.news.repository.NewsSourcesRepositoryTest
 
repository - Variable in class com.fsf.news.service.NewsServiceTest
 
request - Variable in class com.fsf.news.controller.NewsControllerTest
 
request - Variable in class com.fsf.news.handler.ErrorHandlerTest
 
responseProcessor - Variable in class com.fsf.news.processor.NewsResponseProcessorTest
 
responseProcessor - Variable in class com.fsf.news.service.NewsServiceTest
 
responseProcessor - Variable in class com.fsf.news.service.NewsSourcesServiceTest
 
result - Variable in class com.fsf.news.controller.NewsControllerTest
 
result - Variable in class com.fsf.news.handler.ErrorHandlerTest
 

S

sentimentProcessor - Variable in class com.fsf.news.service.NewsServiceTest
 
service - Variable in class com.fsf.news.controller.NewsControllerTest
 
service - Variable in class com.fsf.news.service.NewsServiceTest
 
session - Variable in class com.fsf.news.controller.NewsControllerTest
 
setValue(Class<?>, String, Object) - Static method in class com.fsf.news.ReflectionTestUtils
Sets the value of a static field in a class.
setValue(Object, String, Object) - Static method in class com.fsf.news.ReflectionTestUtils
Sets the value of a field in an object.
sourceProfileView - Variable in class com.fsf.news.controller.NewsControllerTest
 
sourcesForm - Variable in class com.fsf.news.client.NewsApiClientTest
 
sourcesForm - Variable in class com.fsf.news.controller.NewsControllerTest
 
sourcesRepository - Variable in class com.fsf.news.service.NewsSourcesServiceTest
 
sourcesService - Variable in class com.fsf.news.controller.NewsControllerTest
 
sourcesService - Variable in class com.fsf.news.service.NewsSourcesServiceTest
 
StringUtilsTest - Class in com.fsf.news.utils
Unit tests for the StringUtils class.
StringUtilsTest() - Constructor for class com.fsf.news.utils.StringUtilsTest
 

T

testAddElement() - Method in class com.fsf.news.renderer.HtmlRendererTest
Tests that the addElement method adds an element and returns the renderer instance.
testAddSearchResult() - Method in class com.fsf.news.service.NewsServiceTest
Tests that the addSearchResult method adds a search result and returns the expected result.
testAddSearchResultException() - Method in class com.fsf.news.service.NewsServiceTest
Tests that the addSearchResult method throws an exception when no session ID is provided.
testAddSourcesResult() - Method in class com.fsf.news.service.NewsSourcesServiceTest
Tests that the addSourcesResult method adds a sources result and returns the expected result.
testAddSourcesResultEmpty() - Method in class com.fsf.news.service.NewsSourcesServiceTest
Tests that the addSourcesResult method does not add a sources result that has no sources.
testAddSourcesResultException() - Method in class com.fsf.news.service.NewsSourcesServiceTest
Tests that the addSourcesResult method throws an exception when no session ID is provided.
testCleanAndTokenizeWords() - Static method in class com.fsf.news.utils.TextUtilsTest
Provides test data for the testCleanAndTokenizeWords method.
testCleanAndTokenizeWords(String, List<String>) - Method in class com.fsf.news.utils.TextUtilsTest
Tests the cleanAndTokenizeWords method with various inputs.
testCollapseConsecutiveSymbols() - Static method in class com.fsf.news.utils.StringUtilsTest
Provides test data for the testCollapseConsecutiveSymbols method.
testCollapseConsecutiveSymbols(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
Tests that consecutive symbols are correctly collapsed in a string.
testComputeFleschMetrics() - Static method in class com.fsf.news.utils.FleschUtilsTest
Provides test data for the testComputeFleschMetrics test method.
testComputeFleschMetrics(String, FleschMetrics) - Method in class com.fsf.news.utils.FleschUtilsTest
Tests the computeFleschMetrics method with various input texts.
testCountSentences() - Static method in class com.fsf.news.utils.TextUtilsTest
Provides test data for the testCountSentences method.
testCountSentences(String, long) - Method in class com.fsf.news.utils.TextUtilsTest
Tests the countSentences method with various inputs.
testCountSyllables() - Static method in class com.fsf.news.utils.TextUtilsTest
Provides test data for the testCountSyllables method.
testCountSyllables(String, long) - Method in class com.fsf.news.utils.TextUtilsTest
Tests the countSyllables method with various inputs.
testCountWords() - Static method in class com.fsf.news.utils.TextUtilsTest
Provides test data for the testCountWords method.
testCountWords(String, long) - Method in class com.fsf.news.utils.TextUtilsTest
Tests the countWords method with various inputs.
testDefaultString() - Static method in class com.fsf.news.utils.StringUtilsTest
Provides test data for the testDefaultString method.
testDefaultString(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
Tests that the input is returned as is when non-null and as an empty string when null.
testDefaultStringWithDefault() - Static method in class com.fsf.news.utils.StringUtilsTest
Provides test data for the testDefaultStringWithDefault method.
testDefaultStringWithDefault(String, String, String) - Method in class com.fsf.news.utils.StringUtilsTest
Tests that the input is returned as is when non-null and as the provided default string when null.
testError() - Method in class com.fsf.news.controller.NewsControllerTest
Tests that the error method renders the error HTML view.
testFindAll() - Method in class com.fsf.news.repository.NewsRepositoryTest
Tests that the findAll method returns the expected search results when available.
testFindAll() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
Tests that the findAll method returns the expected sources results when available.
testFindAllArticles() - Method in class com.fsf.news.repository.NewsRepositoryTest
Tests that the findAllArticles method returns the expected articles when available.
testFindAllArticles() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
Tests that the findAllSources method returns the expected sources when available.
testFindAllArticlesDifferentSession() - Method in class com.fsf.news.repository.NewsRepositoryTest
Tests that the findAllArticles method returns an empty list when searching for articles in a different session.
testFindAllArticlesDifferentSession() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
Tests that the findAllSources method returns an empty list when searching for sources in a different session.
testFindAllArticlesEmpty() - Method in class com.fsf.news.repository.NewsRepositoryTest
Tests that the findAllArticles method returns an empty list when no articles are available.
testFindAllBeyondCapacity() - Method in class com.fsf.news.repository.NewsRepositoryTest
Tests that the findAll method returns the expected search results when the maximum capacity is exceeded.
testFindAllBeyondCapacity() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
Tests that the findAll method returns the expected sources results when the maximum capacity is exceeded.
testFindAllDifferentSession() - Method in class com.fsf.news.repository.NewsRepositoryTest
Tests that the findAll method returns an empty list when searching for search results in a different session.
testFindAllDifferentSession() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
Tests that the findAll method returns an empty list when searching for sources results in a different session.
testFindAllEmpty() - Method in class com.fsf.news.repository.NewsRepositoryTest
Tests that the findAll method returns an empty list when no search results are available.
testFindAllEmpty() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
Tests that the findAll method returns an empty list when no sources results are available.
testFindAllMaxCapacity() - Method in class com.fsf.news.repository.NewsRepositoryTest
Tests that the findAll method returns the expected search results when the maximum capacity is reached.
testFindAllMaxCapacity() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
Tests that the findAll method returns the expected sources results when the maximum capacity is reached.
testFindAllSourcesEmpty() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
Tests that the findAllSources method returns an empty list when no sources are available.
testFindByUuid() - Method in class com.fsf.news.repository.NewsRepositoryTest
Tests that the findByUuid method returns the expected search result when available.
testFindByUuidDifferentSession() - Method in class com.fsf.news.repository.NewsRepositoryTest
Tests that the findByUuid method returns an empty optional when searching for a search result in a different session.
testFindByUuidEmpty() - Method in class com.fsf.news.repository.NewsRepositoryTest
Tests that the findByUuid method returns an empty optional when no search result is available.
testGetElements() - Method in class com.fsf.news.renderer.HtmlRendererTest
Tests that the getElements method returns the expected elements when available.
testGetElementsEmpty() - Method in class com.fsf.news.renderer.HtmlRendererTest
Tests that the getElements method returns an empty list when no elements are available.
testGetSearchResults() - Method in class com.fsf.news.service.NewsServiceTest
Tests that the getSearchResults method returns the expected results.
testGetSearchResultsException() - Method in class com.fsf.news.service.NewsServiceTest
Tests that the getSearchResults method throws an exception when no session ID is provided.
testGetSearchResultWordStats() - Method in class com.fsf.news.service.NewsServiceTest
Tests that the getSearchResultWordStats method returns the expected word statistics for a given search result.
testGetSearchResultWordStatsEmpty() - Method in class com.fsf.news.service.NewsServiceTest
Tests that the getSearchResultWordStats method throws an exception when no search result is found.
testGetSearchResultWordStatsException() - Method in class com.fsf.news.service.NewsServiceTest
Tests that the getSearchResultWordStats method throws an exception when no session ID is provided.
testGetSourceProfile() - Method in class com.fsf.news.service.NewsSourcesServiceTest
Tests that the getSourceProfile method returns the expected result.
testGetSourcesResults() - Method in class com.fsf.news.service.NewsSourcesServiceTest
Tests that the getSourcesResults method returns the expected results.
testGetSourcesResultsException() - Method in class com.fsf.news.service.NewsSourcesServiceTest
Tests that the getSourcesResults method throws an exception when no session ID is provided.
testIndex() - Method in class com.fsf.news.controller.NewsControllerTest
Tests that the index method redirects to the NotiLytics page.
testInvokeNewsApiEverything() - Method in class com.fsf.news.client.NewsApiClientTest
Tests the invokeNewsApiEverything method using mock data.
testInvokeNewsApiNewsForm() - Method in class com.fsf.news.client.NewsApiClientTest
Tests the invokeNewsApi method with a NewsForm using mock data.
testInvokeNewsApiNewsSourcesForm() - Method in class com.fsf.news.client.NewsApiClientTest
Tests the invokeNewsApi method with a NewsSourcesForm using mock data.
testInvokeNewsApiSources() - Method in class com.fsf.news.client.NewsApiClientTest
Tests the invokeNewsApiSources method using mock data.
testIsBlank() - Static method in class com.fsf.news.utils.StringUtilsTest
Provides test data for the testIsBlank method.
testIsBlank(String) - Method in class com.fsf.news.utils.StringUtilsTest
Tests that a string is considered blank if it is null or empty.
testIsEmpty() - Static method in class com.fsf.news.utils.CollectionUtilsTest
Provides test data for the testIsEmpty method.
testIsEmpty(Collection<?>) - Method in class com.fsf.news.utils.CollectionUtilsTest
Tests that a collection is considered empty if it is null or contains no elements.
testIsNotBlank() - Static method in class com.fsf.news.utils.StringUtilsTest
Provides test data for the testIsNotBlank method.
testIsNotBlank(String) - Method in class com.fsf.news.utils.StringUtilsTest
Tests that a string is not considered blank if it is not null or empty.
testIsNotEmpty() - Static method in class com.fsf.news.utils.CollectionUtilsTest
Provides test data for the testIsNotEmpty method.
testIsNotEmpty(Collection<?>) - Method in class com.fsf.news.utils.CollectionUtilsTest
Tests that a collection is not considered empty if it is not null or contains elements.
testNotilyticsExistingSession() - Method in class com.fsf.news.controller.NewsControllerTest
Tests that the notilytics method renders the NotiLytics HTML view with an existing session.
testNotilyticsNewSession() - Method in class com.fsf.news.controller.NewsControllerTest
Tests that the notilytics method renders the NotiLytics HTML view with a new session.
testOnClientError() - Method in class com.fsf.news.handler.ErrorHandlerTest
Tests onClientError.
testOnServerErrorExceptionWithResponseStatus() - Method in class com.fsf.news.handler.ErrorHandlerTest
Tests onServerError with ResponseStatus annotation.
testOnServerErrorOtherException() - Method in class com.fsf.news.handler.ErrorHandlerTest
Tests onServerError with other exception.
testProcessFleschMetrics() - Method in class com.fsf.news.processor.NewsFleschMetricsProcessorTest
Tests the processFleschMetrics method with a search result containing multiple articles.
testProcessFleschMetricsNoArticles() - Method in class com.fsf.news.processor.NewsFleschMetricsProcessorTest
Tests the processFleschMetrics method with a search result containing no articles.
testProcessFleschMetricsZero() - Method in class com.fsf.news.processor.NewsFleschMetricsProcessorTest
Tests the processFleschMetrics method with a search result containing a single article with Flesch metrics of zero value.
testProcessResponse() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
Tests that the processResponse method returns the expected results.
testProcessResponseExceptionArticle() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
Tests that the processResponse method throws exceptionally from processing the response to an Article.
testProcessResponseExceptionSearchResult() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
Tests that the processResponse method throws exceptionally from processing the response to a SearchResult.
testProcessSentimentAverageNeutral() - Method in class com.fsf.news.processor.NewsSentimentProcessorTest
Tests that a list of a two articles with a varying descriptions yields an overall neutral sentiment.
testProcessSentimentHappy() - Method in class com.fsf.news.processor.NewsSentimentProcessorTest
Tests that a list of a single article with a happy description yields an overall happy sentiment.
testProcessSentimentNeutral() - Method in class com.fsf.news.processor.NewsSentimentProcessorTest
Tests that a list of a single article with a neutral description yields an overall neutral sentiment.
testProcessSentimentNeutralThresholdHappy() - Method in class com.fsf.news.processor.NewsSentimentProcessorTest
Tests that a list of a single article with a not enough happy description yields an overall neutral sentiment.
testProcessSentimentNeutralThresholdSad() - Method in class com.fsf.news.processor.NewsSentimentProcessorTest
Tests that a list of a single article with a not enough sad description yields an overall neutral sentiment.
testProcessSentimentNoArticles() - Method in class com.fsf.news.processor.NewsSentimentProcessorTest
Tests that an empty list of articles yields an overall neutral sentiment.
testProcessSentimentSad() - Method in class com.fsf.news.processor.NewsSentimentProcessorTest
Tests that a list of a single article with a sad description yields an overall sad sentiment.
testProcessSourceProfileResponsesArticleException() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
Tests that the processSourceProfileResponses method throws ResponseProcessingException when article processing fails.
testProcessSourceProfileResponsesNormal() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
Tests that the processSourceProfileResponses method returns the expected results.
testProcessSourceProfileResponsesSourceException() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
Tests that the processSourceProfileResponses method throws ResponseProcessingException when source processing fails.
testProcessSourceProfileResponsesSourceNotFound() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
Tests that the processSourceProfileResponses method returns a default source when the specified source is not found.
testProcessSourcesResponse() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
Tests that the processSourcesResponse method returns the expected results.
testProcessSourcesResponseExceptionSource() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
Tests that the processSourcesResponse method throws exceptionally from processing the response to a Source.
testProcessSourcesResponseExceptionSourcesResult() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
Tests that the processSourcesResponse method throws exceptionally from processing the response to a SourcesResult.
testProcessWordStatsEmpty() - Method in class com.fsf.news.processor.NewsWordStatsProcessorTest
Tests that the processWordStats method processes word statistics from articles.
testProcessWordStatsExists() - Method in class com.fsf.news.processor.NewsWordStatsProcessorTest
Tests that the processWordStats method returns existing word statistics.
testRemoveHtmlTags() - Static method in class com.fsf.news.utils.StringUtilsTest
Provides test data for the testRemoveHtmlTags method.
testRemoveHtmlTags(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
Tests that HTML tags are correctly removed from a string.
testRemoveLeadingTrailingSymbols() - Static method in class com.fsf.news.utils.StringUtilsTest
Provides test data for the testRemoveLeadingTrailingSymbols method.
testRemoveLeadingTrailingSymbols(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
Tests that leading and trailing symbols are correctly removed from a string.
testRemoveLoneSymbols() - Static method in class com.fsf.news.utils.StringUtilsTest
Provides test data for the testRemoveLoneSymbols method.
testRemoveLoneSymbols(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
Tests that lone symbols are correctly removed from a string.
testRemoveNonWordSymbols() - Static method in class com.fsf.news.utils.StringUtilsTest
Provides test data for the testRemoveNonWordSymbols method.
testRemoveNonWordSymbols(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
Tests that non-alphanumeric characters are correctly replaced with spaces in a string.
testRemoveUnderscoreSymbols() - Static method in class com.fsf.news.utils.StringUtilsTest
Provides test data for the testRemoveUnderscoreSymbols method.
testRemoveUnderscoreSymbols(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
Tests that underscore symbols are correctly removed from a string.
testRenderEmpty() - Method in class com.fsf.news.renderer.HtmlRendererTest
Tests that the render method returns an empty string when no elements are added.
testRenderEmptyElement() - Method in class com.fsf.news.renderer.HtmlRendererTest
Tests that the render method returns the expected HTML when an empty element is added.
testRenderSearchResults() - Method in class com.fsf.news.renderer.NewsRendererTest
Tests that the renderSearchResults method generates the expected HTML for a list of search results.
testRenderSearchResultsEmpty() - Method in class com.fsf.news.renderer.NewsRendererTest
Tests that the renderSearchResults method generates an empty HTML string for an empty list of search results.
testRenderSourceProfile() - Method in class com.fsf.news.renderer.NewsRendererTest
Tests that the renderSourceProfile method generates the expected HTML for a source profile.
testRenderSourcesResults() - Method in class com.fsf.news.renderer.NewsRendererTest
Tests that the renderSourcesResults method generates the expected HTML for a list of sources results.
testRenderSourcesResultsEmpty() - Method in class com.fsf.news.renderer.NewsRendererTest
Tests that the renderSourcesResults method generates an empty HTML string when provided with an empty list of sources results.
testReplaceSingleQuotes() - Static method in class com.fsf.news.utils.StringUtilsTest
Provides test data for the testReplaceSingleQuotes method.
testReplaceSingleQuotes(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
Tests that single quotes are correctly replaced in a string.
testSave() - Method in class com.fsf.news.repository.NewsRepositoryTest
Tests that the save method adds a search result and returns the expected search result.
testSave() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
Tests that the save method adds a sources result and returns the expected sources result.
testSearch() - Method in class com.fsf.news.controller.NewsControllerTest
Tests that the search method searches for news based on the provided form data and returns the rendered NotiLytics HTML view.
testSearchInvalidSessionException() - Method in class com.fsf.news.controller.NewsControllerTest
Tests that the search method throws an InvalidSessionException when no session ID is available.
testSourceByName() - Method in class com.fsf.news.controller.NewsControllerTest
Tests that the sourceByName method retrieves a source profile and renders the corresponding HTML view.
testSources() - Method in class com.fsf.news.controller.NewsControllerTest
Tests that the sources method searches for sources based on the provided form data and returns the rendered NotiLytics HTML view.
testSourcesInvalidSessionException() - Method in class com.fsf.news.controller.NewsControllerTest
Tests that the sources method throws an InvalidSessionException when no session ID is available.
testSplitTokens() - Static method in class com.fsf.news.utils.StringUtilsTest
Provides test data for the testSplitTokens method.
testSplitTokens(String, String[]) - Method in class com.fsf.news.utils.StringUtilsTest
Tests that a string is correctly split into tokens.
testToHtmlPairedTag() - Method in class com.fsf.news.model.html.HtmlElementTest
Tests that the toHtml method generates the expected HTML for a paired tag.
testToHtmlSingularTag() - Method in class com.fsf.news.model.html.HtmlElementTest
Tests that the toHtml method generates the expected HTML for a singular tag.
testToHtmlWithProperties() - Method in class com.fsf.news.model.html.HtmlElementTest
Tests that the toHtml method generates the expected HTML when properties are present.
testWordStats() - Method in class com.fsf.news.controller.NewsControllerTest
Tests that the wordStats method retrieves and renders word statistics.
testWordStatsInvalidSesionException() - Method in class com.fsf.news.controller.NewsControllerTest
Tests that the wordStats method throws an InvalidSessionException when no session ID is available.
testWrapDoubleQuotes() - Static method in class com.fsf.news.utils.StringUtilsTest
Provides test data for the testWrapDoubleQuotes method.
testWrapDoubleQuotes(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
Tests that a string is correctly wrapped in double quotes.
TextUtilsTest - Class in com.fsf.news.utils
Tests for the TextUtils class.
TextUtilsTest() - Constructor for class com.fsf.news.utils.TextUtilsTest
 

V

view - Variable in class com.fsf.news.controller.NewsControllerTest
 

W

wordStatsProcessor - Variable in class com.fsf.news.processor.NewsWordStatsProcessorTest
 
wordStatsProcessor - Variable in class com.fsf.news.service.NewsServiceTest
 
wordStatsView - Variable in class com.fsf.news.controller.NewsControllerTest
 
wsClient - Variable in class com.fsf.news.client.NewsApiClientTest
 
wsRequest - Variable in class com.fsf.news.client.NewsApiClientTest
 
wsResponse - Variable in class com.fsf.news.client.NewsApiClientTest
 
A B C E F G H I J L M N O P R S T V W 
All Classes and Interfaces|All Packages